package com.dayaokeji.rhythmschoolstudent.utils;

/**
 * Created by Gorden on 2017/10/16.
 */

public class GroupUtils {

    /**
     * 根据权限code得到群组权限名称
     * @param permissionCode
     * @return
     */
    public static String getGroupPermissionName(int permissionCode) {
        switch (permissionCode) {
            case 1:
                return "私有";
            case 2:
                return "成员可见";
            case 3:
                return "公开";
            default:
                return "";
        }
    }

}
